# -*- coding:utf-8 -*-

from fastapi import Depends
from sqlalchemy.orm import Session

from app.models.data.role import TbRole
from app.models.request.role import Role
from app.repository.core import BaseRepository

from core.database import get_db

class RoleRepository(BaseRepository):
    def __init__(self, db: Session=Depends(get_db)):
        self.db = db
        self.table = TbRole
        self.model = Role
       
